<extend name="index::index" />
<block name="title"><title>detail</title></block>
<block name="nav">
	<ul class="list-unstyled list">
		<empty name="login">
			<li>
			<a href="{:U('Index/login')}" class="anchorLink"><i class="icon-road scolor"></i>登录</a>
			</li>
			<li>
			<a href="{:U('Index/reg')}" class="anchorLink"><i class="icon-road scolor"></i>注册</a>
			</li>
			<else />
			<li>
			<a href="{:U('User/index',['id'=>$login['id']])}" style="text-transform:none;"><i class="icon-road scolor"></i><span style="color:#fff;">欢迎{$login['name']}</span></a>
			</li>
			<li>
			<a href="{:U('Index/loginout')}" class="anchorLink"><i class="icon-road scolor"></i>退出</a>
			</li>
		</empty>
		<li><a href="{:U('Index/index')}" class="anchorLink"><i class="icon-home scolor"></i>主页</a></li>
		<li><a href="{:U('Order/order_info')}" class="anchorLink"><i class="icon-user scolor"></i>订单详情</a></li>
		<li><a href="{:U('User/reset')}" class="anchorLink"><i class="icon-retweet scolor"></i>修改密码</a></li>
	</ul>
</block>
<block name="addver">
</block>
<block name="team">
</block>
<block name="main">
	<div style="min-height:560px;">
		<form action="{:U('reset')}" method="post">
			用户名：<input type="text" name="name" value="{$name}" readonly />
			原密码：<input type="password" name="pwd"/>
			新密码：<input type="password" name="npwd"/>
			<input type="hidden" name="id" value="{$id}"/>
			<input type="submit" />
		</form>
	</div>
</block>